package routers

import (
	beego "github.com/beego/beego/v2/server/web"
	"week/controllers"
)

func init() {
	beego.Router("/", &controllers.MainController{})
	beego.Router("/create_broud", &controllers.BroudController{}, "post:CreateBroud")
	beego.Router("/upload", &controllers.UploadController{}, "post:Upload")
	beego.Router("/look", &controllers.LookController{}, "post:Look")
	beego.Router("/blick_list", &controllers.BlickListController{}, "post:Blick")
	beego.Router("/barrage", &controllers.BarrageController{}, "get:Barrage")
	beego.Router("/barrage_list", &controllers.BarrageListController{}, "get:BarrageList")
}
